# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-tyrquake
pkgver=0_git20200402
pkgrel=0
_commit="58fecfb326a44bf7937b6eaa648210b8e0d07f8e"
pkgdesc="libretro port of Tyrquake (Quake 1 engine)"
url="https://github.com/libretro/tyrquake"
arch="all"
license="GPL-2.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/tyrquake/archive/$_commit.tar.gz"
builddir="$srcdir/tyrquake-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 tyrquake_libretro.so "$pkgdir"/usr/lib/libretro/tyrquake_libretro.so
}

sha512sums="952449757d7b0822c95c9101275bcca249b52316bcbd7c2596a0c076412d840be7968ec3171c22e3f901af5e7742838abe9ef6cd84295608d45eca3ab8cb2bcf  libretro-tyrquake-58fecfb326a44bf7937b6eaa648210b8e0d07f8e.tar.gz"
